package com.example.mp.service.impl;

import com.example.mp.entity.TUser;
import com.example.mp.dao.TUserMapper;
import com.example.mp.service.ITUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ykg
 * @since 2022-12-28
 */
@Service
public class TUserServiceImpl extends ServiceImpl<TUserMapper, TUser> implements ITUserService {
    @Resource
    private TUserMapper tUserMapper;
    @Override
    public List<TUser> findAll(){
        return tUserMapper.findAll();
    }

}
